import * as Icons from '@arco-design/web-vue/es/icon'
//@ts-ignore
import localIconsName from 'virtual:svg-icons-names'

export const ARCO_ICON_PREFIX = 'arco-icon-';
export const LOCAL_ICON_PREFIX = 'local-icon-';

export function getArcoIconsName(): string[] {
    const icons = [];
    for (const key in Icons) {
        icons.push(`${ARCO_ICON_PREFIX}${key}`)
    }
    return icons;
}

console.log(localIconsName)
export function getLocalIconNames() {
    return localIconsName
}
